home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / devices / conunit.inc < prev    next >
Text File  |  1998-06-24  |  1KB  |  58 lines

  1. include "inc/exec/types.inc";
  2. include "inc/exec/ports.inc";
  3. include "inc/devices/console.inc";
  4. include "inc/devices/keymap.inc";
  5. include "inc/devices/inputevent.inc";
  6.  
  7. def CONU_LIBRARY = -1;
  8. def CONU_STANDARD = 0;
  9.  
  10. def CONU_CHARMAP = 1;
  11. def CONU_SNIPMAP = 3;
  12.  
  13. def CONFLAG_DEFAULT = 0;
  14. def CONFLAG_NODRAW_ON_NEWSIZE = 1;
  15.  
  16. def PMB_ASM = (M_LNM+1);
  17. def PMB_AWM = (PMB_ASM+1);
  18. def MAXTABS = 80;
  19.  
  20. struct ConUnit is
  21.   cu_MP:MsgPort;
  22.   cu_Window:ulong;
  23.   cu_XCP:word;
  24.   cu_YCP:word;
  25.   cu_XMax:word;
  26.   cu_YMax:word;
  27.   cu_XRSize:word;
  28.   cu_YRSize:word;
  29.   cu_XROrigin:word;
  30.   cu_YROrigin:word;
  31.   cu_XRExtant:word;
  32.   cu_YRExtant:word;
  33.   cu_XMinShrink:word;
  34.   cu_YMinShrink:word;
  35.   cu_XCCP:word;
  36.   cu_YCCP:word;
  37.   cu_KeyMapStruct:KeyMap;
  38.   cu_TabStops[80]:uword;
  39.   cu_Mask:byte;
  40.   cu_FgPen:byte;
  41.   cu_BgPen:byte;
  42.   cu_AOLPen:byte;
  43.   cu_DrawMode:byte;
  44.   cu_Obsolete1:byte;
  45.   cu_Obsolete2:ulong;
  46.   cu_Minterms[8]:ubyte;
  47.   cu_Font:ulong;
  48.   cu_AlgoStyle:ubyte;
  49.   cu_TxFlags:ubyte;
  50.   cu_TxHeight:uword;
  51.   cu_TxWidth:uword;
  52.   cu_TxBaseline:uword;
  53.   cu_TxSpacing:word;
  54.   cu_Modes[(((20+1)+1)+7)/8]:ubyte;
  55.   cu_RawEvents[($15+8)/8]:ubyte;
  56. ;
  57.  
  58.